package com.sa07.db;

/**
 * H2会话工厂
 * 
 * @author Long.shangbo
 * 
 *         2014-2-21 上午10:44:59
 */
public class H2SessionFactory extends SessionFactory {

	private H2SessionFactory() {

	}
	
	private static H2SessionFactory sessionFactory = new H2SessionFactory();

	/**
	 * 获得工厂
	 * 
	 * @return
	 */
	public static SessionFactory getFactory() {
		return sessionFactory;
	}

	@Override
	public void buildFactory(DbConfig config) {
		this.dbConfig = config;
	}

}
